<?php

	class CoreDevLog extends CoreLog
	{
		/**
		 *  Perform realPath() on the directory path, instead of file path
		 */
		public function __construct( $oParent )
		{
			parent::__construct( $oParent );
			$sFilename = $this->get( "/Config/konsolidate/log", "/tmp/konsolidate.log" );

			$nSeparator = strrpos( $sFilename, "/" );

			$this->_logfile = $this->instance( "/System/File" );
			$this->_logfile->open( realPath( substr( $sFilename, 0, $nSeparator ) ) . substr( $sFilename, $nSeparator ), "a" );

			$this->setVerbosity();
		}
	}

?>